/*
 * @Description: flutter语音播报功能类
 * @version: 
 * @Company: 
 * @Author: ZhengZhuang
 * @Date: 2019-09-05 14:50:18
 * @LastEditors: ZhengZhuang
 * @LastEditTime: 2019-10-21 16:23:50
 */
import 'package:flutter_plugin_tts/flutter_plugin_tts.dart';

class VoiceBroadCasting {
  /// 语音播报用户订单
  static void voicePlayback(onData) {
    FlutterPluginTts.speak(onData);
  }

  /// 停止语音
  static void stopSpeech() async {
    FlutterPluginTts.stop();
  }
}
